
const Router = require('koa-router')
const router = new Router({ prefix: '/'})
const userController = require('../controller/user')

/**
 * @api {post} /UserInfo
 * @apiDescription get user info
 * @apiName userInfo
 * @apiGroup User接口
 * @apiVersion 1.0.0
 */

router.get('/userInfo', userController.userInfo)